package com.gitee.zw.rule.client.conf;

import com.ibm.risk.irmp.common.config.client.ClientConfigCommon;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.service.invoker.HttpServiceProxyFactory;

public class AbstractRuleClientConfig extends ClientConfigCommon {
    @Value("${app.irmp.rule.api.root}")
    private String rootUrl;
    @Value("${app.irmp.rule.api.version:v2}")
    private String ver;

    HttpServiceProxyFactory getHttpServiceProxyFactory() {
        return getHttpServiceProxyFactory(rootUrl, ver);
    }
}
